package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "书籍分类", description = "用于书籍分类,id与推荐书籍信息的书籍分类编号(bcid)相对应")
public class BooksCategory {
    /*编号*/
    @ApiModelProperty(value = "id与推荐书籍信息的书籍分类编号(bcid)相对应", example = "1")
    private Integer id;
    /*书籍分类名称*/
    @ApiModelProperty(value = "书籍分类的名称", example = "历史书")
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
